package oop.java0328.work1;

public class TeacherTest {
    public static void main(String[] args) {
        JavaTeacher javaTeacher = new JavaTeacher("张三",50,20,"男","Java");
        javaTeacher.selfIntroduce();
        javaTeacher.giveLession();
        System.out.println("***********************************");

        UITeacher uiTeacher = new UITeacher("李斯",30,10,"女","UI");
        uiTeacher.selfIntroduce();
        uiTeacher.capacity();
        uiTeacher.giveLession();
        System.out.println("***********************************");

        NetTeacher netTeacher = new NetTeacher("王五",60,40,"男","C#");
        netTeacher.selfIntroduce();
        netTeacher.teach();
        netTeacher.giveLession();
    }
}
